//
// Created by Dinger on 2021/9/18.
//

#include "../Header files/word.h"

Word::Word() {
    _position_row = 1;
    _position_col = 1;
}

Word::Word(int wordNumber, string wordMessage) {
    _wordMessage = wordMessage;
    _wordNumber = wordNumber;
}

Word::Word(int wordNumber, string wordMessage, int position_row, int position_col, string fileName) {
    _wordMessage = wordMessage;
    _wordNumber = wordNumber;
    _position_row = position_row;
    _position_col = position_col;
    _fileName = fileName;
}